﻿/*
 * Created by SharpDevelop.
 * User: issuser
 * Date: 2010-12-9
 * Time: 14:56
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Data.Odbc;
using System.Data.Common;

namespace NLite.Data.Driver
{
	/// <summary>
	/// Description of OdbcDriver.
	/// </summary>
	public abstract class OdbcDriver:DriverBase
	{
		public OdbcDriver()
		{
		}

        protected override DbConnection InternalCreateConnection()
        {
            return new OdbcConnection();
        }

		public override bool UseNamedPrefixInSql
		{
			get { return false; }
		}

		public override bool UseNamedPrefixInParameter
		{
			get { return false; }
		}

		public override string NamedPrefix
		{
			get { return String.Empty; }
		}
		
	}
}
